package com.pw.manage.education.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.pw.common.annotation.Excel;
import com.pw.common.core.domain.BaseEntity;

/**
 * 员工教育经历对象 employees_education
 * 
 * @author lye
 * @date 2024-12-28
 */
public class EmployeesEducation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 外键关联id */
    private Long employeeId;

    /** 学历 */
    @Excel(name = "学历")
    private String educationLevel;

    /** 毕业院校 */
    @Excel(name = "毕业院校")
    private String graduationSchool;

    /** 毕业专业 */
    @Excel(name = "毕业专业")
    private String graduationMajor;

    /** 教育结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "教育结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date educationEndDate;

    /** 学习形式 */
    @Excel(name = "学习形式")
    private String studyForm;

    /** 毕业证书编号 */
    @Excel(name = "毕业证书编号")
    private String graduationCertificateNumber;

    /** 学位类型，如理学、工学、文学等 */
    @Excel(name = "学位类型，如理学、工学、文学等")
    private String degreeType;

    /** 学位名称，如学士学位、硕士学位等 */
    @Excel(name = "学位名称，如学士学位、硕士学位等")
    private String degreeName;

    /** 学位证书编号 */
    @Excel(name = "学位证书编号")
    private String degreeCertificateNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setEducationLevel(String educationLevel) 
    {
        this.educationLevel = educationLevel;
    }

    public String getEducationLevel() 
    {
        return educationLevel;
    }
    public void setGraduationSchool(String graduationSchool) 
    {
        this.graduationSchool = graduationSchool;
    }

    public String getGraduationSchool() 
    {
        return graduationSchool;
    }
    public void setGraduationMajor(String graduationMajor) 
    {
        this.graduationMajor = graduationMajor;
    }

    public String getGraduationMajor() 
    {
        return graduationMajor;
    }
    public void setEducationEndDate(Date educationEndDate) 
    {
        this.educationEndDate = educationEndDate;
    }

    public Date getEducationEndDate() 
    {
        return educationEndDate;
    }
    public void setStudyForm(String studyForm) 
    {
        this.studyForm = studyForm;
    }

    public String getStudyForm() 
    {
        return studyForm;
    }
    public void setGraduationCertificateNumber(String graduationCertificateNumber) 
    {
        this.graduationCertificateNumber = graduationCertificateNumber;
    }

    public String getGraduationCertificateNumber() 
    {
        return graduationCertificateNumber;
    }
    public void setDegreeType(String degreeType) 
    {
        this.degreeType = degreeType;
    }

    public String getDegreeType() 
    {
        return degreeType;
    }
    public void setDegreeName(String degreeName) 
    {
        this.degreeName = degreeName;
    }

    public String getDegreeName() 
    {
        return degreeName;
    }
    public void setDegreeCertificateNumber(String degreeCertificateNumber) 
    {
        this.degreeCertificateNumber = degreeCertificateNumber;
    }

    public String getDegreeCertificateNumber() 
    {
        return degreeCertificateNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeId", getEmployeeId())
            .append("educationLevel", getEducationLevel())
            .append("graduationSchool", getGraduationSchool())
            .append("graduationMajor", getGraduationMajor())
            .append("educationEndDate", getEducationEndDate())
            .append("studyForm", getStudyForm())
            .append("graduationCertificateNumber", getGraduationCertificateNumber())
            .append("degreeType", getDegreeType())
            .append("degreeName", getDegreeName())
            .append("degreeCertificateNumber", getDegreeCertificateNumber())
            .toString();
    }
}
